package com.ruoyi.project.system.jgg.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 自选股指标定义测试对象 tb_base_custom_index_def
 * 
 * @author ruoyi
 * @date 2021-12-30
 */
public class TbBaseCustomIndexDef extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 指标代码 */
    private String indexCd;

    /** 指标名称 */
    @Excel(name = "指标名称")
    private String indexNm;

    /** 指标分类代码 */
    private String indexTypeCd;

    /** 指标分类名称 */
    @Excel(name = "指标分类名称")
    private String indexTypeNm;

    /** 指标取值范围 */
    @Excel(name = "指标取值范围")
    private String indexDataScope;

    /** 指标所在表 */
    @Excel(name = "指标所在表")
    private String inTable;

    /** 指标所在字段 */
    @Excel(name = "指标所在字段")
    private String inColumn;

    /** 时间单位 */
    private String tmUnit;

    /** 单位换算 */
    private String unitExchange;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String status;

    /** 更新日期 */
    private Date updateTm;

    public void setIndexCd(String indexCd) 
    {
        this.indexCd = indexCd;
    }

    public String getIndexCd() 
    {
        return indexCd;
    }
    public void setIndexNm(String indexNm) 
    {
        this.indexNm = indexNm;
    }

    public String getIndexNm() 
    {
        return indexNm;
    }
    public void setIndexTypeCd(String indexTypeCd) 
    {
        this.indexTypeCd = indexTypeCd;
    }

    public String getIndexTypeCd() 
    {
        return indexTypeCd;
    }
    public void setIndexTypeNm(String indexTypeNm) 
    {
        this.indexTypeNm = indexTypeNm;
    }

    public String getIndexTypeNm() 
    {
        return indexTypeNm;
    }
    public void setIndexDataScope(String indexDataScope) 
    {
        this.indexDataScope = indexDataScope;
    }

    public String getIndexDataScope() 
    {
        return indexDataScope;
    }
    public void setInTable(String inTable) 
    {
        this.inTable = inTable;
    }

    public String getInTable() 
    {
        return inTable;
    }
    public void setInColumn(String inColumn) 
    {
        this.inColumn = inColumn;
    }

    public String getInColumn() 
    {
        return inColumn;
    }
    public void setTmUnit(String tmUnit) 
    {
        this.tmUnit = tmUnit;
    }

    public String getTmUnit() 
    {
        return tmUnit;
    }
    public void setUnitExchange(String unitExchange) 
    {
        this.unitExchange = unitExchange;
    }

    public String getUnitExchange() 
    {
        return unitExchange;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUpdateTm(Date updateTm) 
    {
        this.updateTm = updateTm;
    }

    public Date getUpdateTm() 
    {
        return updateTm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("indexCd", getIndexCd())
            .append("indexNm", getIndexNm())
            .append("indexTypeCd", getIndexTypeCd())
            .append("indexTypeNm", getIndexTypeNm())
            .append("indexDataScope", getIndexDataScope())
            .append("inTable", getInTable())
            .append("inColumn", getInColumn())
            .append("tmUnit", getTmUnit())
            .append("unitExchange", getUnitExchange())
            .append("status", getStatus())
            .append("updateTm", getUpdateTm())
            .toString();
    }
}
